package com.insta.formation.library.model.impl;

import com.insta.formation.library.model.IBook;

public class BookImpl implements IBook
{
	private int id;
	private String isbn;
	private String author;
	private String name;



	public BookImpl(String isbn, String author, String name)
	{
		this(0, isbn, author, name);
	}

	public BookImpl(int id, String isbn, String author, String name) {

		super();
		this.id = id;
		this.isbn = isbn;
		this.author = author;
		this.name = name;
	}

	/**
	 * @see IBook.getId()
	 */
	public int getId()
	{
		return id;
	}

	/**
	 * @see IBook.getIsbn()
	 */
	public String getIsbn()
	{
		return this.isbn;
	}

	/**
	 * @see IBook.getName()
	 */
	public String getName()
	{
		return name;
	}

	/**
	 * @see IBook.getAuthor()
	 */
	public String getAuthor()
	{
		return author;
	}

	

}
